Hi,
I have a similar problem using Qt Creator 20.0.1 with W11.
when I start my application with the debugger, I get this line 6 times:
onecore\windows\directx\database\helperlibrary\lib\perappusersettingsqueryimpl.cpp(135)\directxdatabasehelper.dll!00007FF94F0BA476: (caller: 00007FF94F0BA32C) ReturnHr(6) tid(1ffc) 80070002 The system cannot find the file specified.
followed by this line:
Temporarily disabling breakpoints for unloaded shared library "C:windows\System32\DriverStore\FileRepository\nvhdcsi.inf_amd64_a0777212ea1656ec\nvgpucomp64.dll"
Note: These lines occur in the qmain() during the call to w.show();
then, when the debugger reaches any break point, it displays this line:
ASSERT: "pos <= d.size" in file C:/Qt/6.8.3/mingw_64/include/QtCore/qstring.h, line 1094 (C:/Qt/6.8.3/mingw_64/include/QtCore/qstring.h:1094)
And the application exits with code 3.
I don't know if (1) is the root cause of (2) ...
Outside the debugger everything is working fine.